//
//  ICImageCropperViewController.h
//  ICome
//
//  Created by zhangrongwu on 16/4/6.
//  Copyright © 2016年 iCom. All rights reserved.
//  头像裁剪

#import "ICBaseViewController.h"

@class ICImageCropperViewController;

@protocol ICImageCropperDelegate <NSObject>

- (void)imageCropper:(ICImageCropperViewController *)cropperViewController didFinished:(UIImage *)editedImage;
- (void)imageCropperDidCancel:(ICImageCropperViewController *)cropperViewController;

@end

@interface ICImageCropperViewController : ICBaseViewController

@property (nonatomic,assign)BOOL ratioBool;


@property (nonatomic, assign) id<ICImageCropperDelegate> delegate;
@property (nonatomic, assign) CGRect cropFrame;

- (id)initWithImage:(UIImage *)originalImage cropFrame:(CGRect)cropFrame limitScaleRatio:(CGFloat)limitRatio;

@end
